/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package MDP;

/**
 *
 * @author informatica
 */
public class MDPPerception<STATE_TYPE> {

        private STATE_TYPE state;

        private double reward;

        public MDPPerception(STATE_TYPE state, double reward) {
                this.state = state;
                this.reward = reward;
        }

        public double getReward() {
                return reward;
        }

        public STATE_TYPE getState() {
                return state;
        }

        @Override
        public String toString() {
                return "[ " + state.toString() + " , " + reward + " ] ";
        }
}